//
//  JYUrlData.h
//  s.
//
//  Created by fanshijian on 2022/8/23.
//  Copyright © 2022 J. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum {
    environment_release,    //prod环境
    environment_debug,      //测试环境
}environment_mode;

NSDictionary *JYURLInfo(NSString *key);
NSString *JYURLString(NSString *key);

// 获取html地址
NSString *JYHTMLURLString(NSString *key);

NSString *USocketURLString();


@interface JYUrlData : NSObject
+ (instancetype)shareInstance;

@property (nonatomic, strong, readonly) NSMutableArray *urls;
@property (nonatomic, strong, readonly) NSString *environmentString;

// 文件上传时 区分正式和测试
- (NSString *)oss_filePath;

// 环境名字
- (NSString *)environmentName;

@end

NS_ASSUME_NONNULL_END
